home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13456 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
  2. From: grantp@usa.pipeline.com(Pete Grant)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Q: Any compiler support "auto_ptr" template in standard C++ library ?
  5. Date: 26 Mar 1996 09:50:19 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4j8ekr$ght@news1.h1.usa.pipeline.com>
  8. References: <4j7i17$25k@paul.rutgers.edu>
  9. NNTP-Posting-Host: 38.8.60.2
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete Grant)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 25, 1996 20:41:59 in article <Q: Any compiler support "auto_ptr"
  16. template in standard C++ library ?>, 'yuliang@paul.rutgers.edu (Yu-min
  17. Liang)' wrote: 
  18.  
  19.  
  20. >Hi, 
  21. >Can somebody kindly tell me which C++ compiler support the  
  22. >"auto_ptr" template defined in standard C++ library ? 
  23. >I mean, not only the "explicit" keyword, but in particular the 
  24. >"template member function". I have installed g++ 2.7.2, but it 
  25. >doesn't compile the "auto_ptr" implementation as suggested in 
  26. >Scott Meyers' "More Effective C++" book. 
  27. None of the ones I have worked with do (MSVC4.1, BC4.52,Watcom10.0, 
  28. g++2.6.3). 
  29.  
  30. Mr. Meyers gives a source listing of the class in his book. 
  31. It's a relatively small job to copy the code into your own 
  32. file and use it until a supporting compiler appears on the 
  33. scene. 
  34.  
  35. -- 
  36. Pete Grant 
  37. Kalevi, Inc. 
  38. Software Engineering & development
  39.